import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false
Vue.prototype.$fancy = () => {};
import common from '@/static/js/common.js';
import uView from "uview-ui";
import {baseUrl} from '@/utils/request.js';
import moment from 'moment';
Vue.prototype.BaseUrl = baseUrl
Vue.prototype.$moment = moment;
Vue.use(uView);

// add to 2023-01-02
import Vuex from 'vuex'
Vue.use(Vuex)
import initModal from "@/components/showModal/initModal.js"
// import showModal from "@/pages/components/showModal/showModal.vue"
initModal(Vue);
// Vue.component('show-modal',showModal);

//全局混入
import pageDwellTime from '@/mixin/pageDwellTime.js'
Vue.mixin(pageDwellTime); 



uni.$u.config.unit = 'rpx'
Vue.use(common);
App.mpType = 'app'
const app = new Vue({
    ...App	
})
app.$mount()
